package logic;
import java.awt.*;

public class EnergyProfilerJavaGUI extends java.applet.Applet{
	/**
	 * 
	 */
	private static final long serialVersionUID = 2190013096407524119L;
	public void init()
	{
		Panel p;

		setLayout(new BorderLayout());

		p = new Panel();

		p.add(new TextArea());

		add("Center", p);

		p = new Panel();

		p.add(new Button("One"));
		p.add(new Button("Two"));

		Choice c = new Choice();

		c.addItem("one");
		c.addItem("two");
		c.addItem("three");

		p.add(c);

		add("South", p);
	}
	@SuppressWarnings("deprecation")
	public static void main(String[] args) {
		Frame f = new Frame("Example 4");

		EnergyProfilerJavaGUI ex = new EnergyProfilerJavaGUI();

		ex.init();

		f.add("Center", ex);

		f.pack();
		f.show();		
	}
}
